package com.yg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yg.config.result.R;
import com.yg.entity.readAndWriteTemplates.ResearchProjectRead;
import com.yg.entity.singleEntity.ResearchProject;

import javax.servlet.http.HttpServletResponse;
import java.io.FileInputStream;


/**
 * <p>
 * 对应sheet05，此表是教研项目表 服务类
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
public interface ResearchProjectService extends IService<ResearchProject> {

    //excel录入
    R readExcel(FileInputStream fileInputStream);

    //excel导出
    R writeExcel(HttpServletResponse response, ResearchProjectRead condition);

    //查询教研项目所有信息
    R selectAllResearchProjectInfo(int current, int limit);

    //条件查询
    R researchProjectConditionalQuery(String s,int current,int limit);

    //更新教研项目信息
    R updateResearchProjectInfo(String researchProjectCondition);

    //删除教师
    R deleteResearchProjectById(String id);

    //添加教师信息
    R insertResearchProjectInfo(ResearchProject researchProject);
}
